package com.varian.auth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.varian.auth.model.dto.OAuth2AuthorizationInfoPageDTO;
import com.varian.auth.model.entity.OAuth2AuthorizationInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author ben
 * @since 2024/6/30
 */
@Mapper
public interface OAuth2AuthorizationInfoMapper extends BaseMapper<OAuth2AuthorizationInfo> {

    Page<OAuth2AuthorizationInfo> selectPage(Page<OAuth2AuthorizationInfo> page, @Param("dto") OAuth2AuthorizationInfoPageDTO dto);
}
